package com.gitee.huanminabc.fast.boot.test;

import com.gitee.huanminabc.jcommon.multithreading.executor.SleepTools;
import com.gitee.huanminabc.jcommon.reflect.AnnotationUtil;
import com.gitee.huanminabc.jcommon.reflect.ClassUtil;
import com.gitee.huanminabc.fastboot.FastBoot;
import com.gitee.huanminabc.fastboot.context.AppContext;
import com.gitee.huanminabc.fastboot.context.AppContextUtil;
import org.junit.jupiter.api.extension.*;

import java.lang.reflect.Constructor;
import java.lang.reflect.Field;
import java.lang.reflect.Modifier;
import java.util.List;
import java.util.Optional;

/**
 * 简要描述 SpringExtension
 * 必须junit5才能使用   import org.junit.jupiter.api.Test;
 *
 * @Author: huanmin
 * @Date: 2025/4/10 23:42
 * @Version: 1.0
 * @Description: 文件作用详细描述....
 */
public class FastBootTestExtension implements BeforeEachCallback, AfterEachCallback, BeforeAllCallback, AfterAllCallback {
    @Override
    public void afterEach(ExtensionContext context) throws Exception {
//        System.out.println("fast-boot-afterEach");
    }

    @Override
    public void beforeEach(ExtensionContext context) throws Exception {
//        Optional<Class<?>> testClass = context.getTestClass();

    }

    @Override
    public void afterAll(ExtensionContext context) throws Exception {
//        System.out.println("fast-boot-afterAll");
    }

    @Override
    public void beforeAll(ExtensionContext context) throws Exception {
//        System.out.println("fast-boot-beforeAll");
    }
}
